﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace scomA3proj
{
    [DataContractAttribute]
    public class StockInfo
    {
        [DataMember]
        public DateTime date { get; set; }
        [DataMember]
        public Decimal price { get; set; }

        public StockInfo()
        { }

        public StockInfo(DateTime date, Decimal price)
        {
            this.date = date;
            this.price = price;
        }
    }
}
